<template>
	<view class="container">
		<header-view type="second" leftShow>忘记密码</header-view>
		<view class="content">
			<view class="item flex">
				<view class="name flex">手机号：</view>
				<u--input placeholder="请输入手机号" border="none" v-model="data.phone" type="number" color="#fff"
					placeholderStyle="{color:'grey'}"></u--input>
			</view>
			<view class="item flex">
				<view class="name flex">验证码：</view>
				<u--input placeholder="请输入验证码" border="none" v-model="data.code" type="number" color="#fff"
					placeholderStyle="{color:'grey'}"></u--input>
			</view>
			<view class="item flex">
				<view class="name flex">新密码：</view>
				<u--input placeholder="请输入新密码" border="none" v-model="data.password" type="password" color="#fff"
					placeholderStyle="{color:'grey'}"></u--input>
			</view>
			<u-button class="submit" text="提交" @tap="submit"></u-button>
		</view>
	</view>
</template>

<script>
	import headerView from "@/components/headerView/index.vue"
	import {} from "@/api/api.js"
	export default {
		components: {
			headerView
		},
		data() {
			return {
				data: {
					phone: "",
					code: "",
					password: "",
				}
			};
		},
		methods: {
			submit() {}
		}
	}
</script>

<style lang="scss" scoped>
	.container {


		.content {
			padding: 0 24rpx;

			.item {
				height: 100rpx;
				background: #1f2039;
				border-radius: 20rpx;
				margin-bottom: 30rpx;
				padding: 0 20rpx;

				.name {
					width: 180rpx;
					height: 100rpx;
					font-size: 32rpx;
					font-weight: 400;
					color: #fefefe;
				}

				.u-input {
					flex: 1;
					height: 100rpx;
					line-height: 100rpx;
				}
			}

			.submit {
				height: 88rpx;
				background: #4c3d89;
				border-radius: 44rpx;
				font-size: 32rpx;
				font-weight: 400;
				color: #fff;
				margin-top: 66rpx;
				border: none;
			}
		}
	}
</style>